package com.base.exception;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class PtException extends RuntimeException{
    public PtException(){
        super();
    }

    public PtException(String msg){
        super(msg);
        log.warn("[PtException]"+msg);
    }

    @Override
    public String getMessage(){
        return "拼团异常";
    }
}
